﻿#include "qmyqq.h"
#include "ui_qmyqq.h"



QMyqq::QMyqq(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::QMyqq)
{
    ui->setupUi(this);
}

QMyqq::~QMyqq()
{
    delete ui;
}

void QMyqq::setHeadImg(QString img)
{
    ui->label_head->setPixmap(QPixmap(img).scaled(120,120));
}

void QMyqq::setNickName(QString name)
{
    ui->label_nickname->setText(name);
}

void QMyqq::setInfo(QString name)
{
    ui->label_info->setText(name);
}
